package com.xin.springbootjurisdiction.service;

import com.xin.springbootjurisdiction.dataobject.ModuleInfo;

/**
 * 模块service
 */
public interface ModuleInfoService {
    //添加模块
    ModuleInfo create(ModuleInfo moduleInfo);
    //删除模块
    boolean delete(String moduleId);
    //修改模块
    ModuleInfo update(ModuleInfo moduleInfo);
    //查找
    ModuleInfo findOne(String moduleId);
}
